package com.fujimana.rockincat.restree.exception;

public class HttpException extends RuntimeException {
	
	private static final long serialVersionUID = 5764760251040836263L;
	
	private int code;

	public HttpException(int code) {
		this.code = code;
	}

	public HttpException(int code, String message, Throwable cause) {
		super(message, cause);
		this.code = code;
	}

	public HttpException(int code, String message) {
		super(message);
		this.code = code;
	}

	public HttpException(int code, Throwable cause) {
		super(cause);
		this.code = code;
	}

	public int getCode() {
		return code;
	}

}
